package com.ruoyi.client.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户订单商品 对象 sys_order_meds
 * 
 * @author ruoyi
 * @date 2022-09-25
 */
public class SysOrderMeds extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户订单商品id */
    private Long orderMedId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 器械id */
    @Excel(name = "器械id")
    private Long medId;

    /** 器械数量 */
    @Excel(name = "器械数量")
    private Long medNumber;

    /** 单价 */
    @Excel(name = "单价")
    private String medPrice;

    /** 小计 */
    @Excel(name = "小计")
    private BigDecimal price;

    private Long carId;

    private SysMedical sysMedical;

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public SysMedical getSysMedical() {
        return sysMedical;
    }

    public void setSysMedical(SysMedical sysMedical) {
        this.sysMedical = sysMedical;
    }

    public void setOrderMedId(Long orderMedId)
    {
        this.orderMedId = orderMedId;
    }

    public Long getOrderMedId() 
    {
        return orderMedId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setMedId(Long medId) 
    {
        this.medId = medId;
    }

    public Long getMedId() 
    {
        return medId;
    }
    public void setMedNumber(Long medNumber) 
    {
        this.medNumber = medNumber;
    }

    public Long getMedNumber() 
    {
        return medNumber;
    }
    public void setMedPrice(String medPrice)
    {
        this.medPrice = medPrice;
    }

    public String getMedPrice()
    {
        return medPrice;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderMedId", getOrderMedId())
            .append("orderId", getOrderId())
            .append("medId", getMedId())
            .append("medNumber", getMedNumber())
            .append("medPrice", getMedPrice())
            .append("price", getPrice())
                .append("sysMedical",getSysMedical())
                .append("carId",getCarId())
            .toString();
    }
}
